EMT Practice Test
1. Question Content...
Question1: Multiple provider instances blocks for AWS can be part of a single configuration file?
Question2: terraform validate validates the syntax of Terraform files.
Question4: What does terrafom plan do ?
Question6: Which of the below datatype is not supported by Terraform.
Question11: terraform refresh will update the state file?
Question12: Where in your Terraform configuration do you specify a state backend?
Question13: State locking does not happen automatically and must be specified at run
Question15: Select all features which are exclusive to Terraform Enterprise. (Select Three)
Question16: Only the user that generated a plan may apply it.
Question19: What Terraform feature is shown in the example below?
Question20: Which of the following is not a valid string function in Terraform?
Question21: If a module uses a local variable, you can expose that value with a terraform output.
Question22: When does terraform apply reflect changes in the cloud environment?
Question24: Which of the following value will be accepted for var1?
variable "var1" {
type = string
}
Question27: What is the result of the following terraform function call?
Question30: terraform init initializes a sample main.tf file in the current directory.
Question31: What is the provider for this fictitious resource?
Question34: What is the name assigned by Terraform to reference this resource?
Question36: Which of the following is an invalid variable name?
Question38: What are some of the features of Terraform state? (select three)
Question39: Terraform providers are always installed from the Internet.
Question40: Which of the following is not a key principle of infrastructure as code?
Question46: You cannot publish your own modules on the Terraform Registry.
Question51: Which option can not be used to keep secrets out of Terraform configuration files?
Question53: What command should you run to display all workspaces for the current configuration?
Question55: In the example below, the depends_on argument creates what type of dependency?
Question56: Which of these is the best practice to protect sensitive values in state files?
Question60: What is one disadvantage of using dynamic blocks in Terraform?
Question64: Using multi-cloud and provider-agnostic tools provides which of the following benefits?
Question66: From the answers below, select the advantages of using Infrastructure as Code.
Question70: Which of the below configuration file formats are supported by Terraform? (Select TWO)
Question71: By default, a defined provisioner is a creation-time provisioner.
Question77: When TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled.
Question79: Which one is the right way to import a local module names consul?
Question85: One remote backend configuration always maps to a single remote workspace.
Question86: What is the default backend for Terraform?
Question90: Which provisioner invokes a process on the resource created by Terraform?
Question95: Which of the following actions are performed during a terraform init?
Question98: Which argument(s) is (are) required when declaring a Terraform variable?
